<?php
namespace ChannelThrift\Service;

use Base\BaseService;

class SystemLogService extends BaseService {
    Protected $autoCheckFields = false;
    public  $connection = 'DB_AUMS';
    public $tablePrefix = 'au_';

    /**
     * 增加操作日志
     * @param array $log 日志数据
     * @return void
     */
    public static function addlog($log){
        $log['createtime'] = date('Y-m-d H:i:s');
        D('ChannelThrift/Aums/SystemLog')->add($log);
    }

}
